
public class SparseGridNode {
	private Object o;
    private int col;
    private SparseGridNode next;
    /**
     * the constructor of SparseGridNode
     * @param o
     * @param col
     * @param pre
     * @param next
     */
    public SparseGridNode(Object o, int col, SparseGridNode next)
    {
    	this.setObject(o);
    	this.setCol(col);
    	this.setNextNode(next);
    }
    /**
     * the getter of object
     * @return
     */
	public Object getObject() {
		return o;
	}
	/**
	 * the setter of object
	 * @param o
	 */
	public void setObject(Object o) {
		this.o = o;
	}
	/**
	 * the getter of column
	 * @return
	 */
	public int getCol() {
		return col;
	}
	/**
	 * the setter of column
	 * @param col
	 */
	public void setCol(int col) {
		this.col = col;
	}
	/**
	 * the getter of next_node
	 * @return
	 */
	public SparseGridNode getNextNode() {
		return next;
	}
	/**
	 * the setter of next_node
	 * @param next
	 */
	public void setNextNode(SparseGridNode next) {
		this.next = next;
	}
    
    
}
